<%@ page import="com.lixiaoyi.emp.entity.Emp" %><%--
  Created by IntelliJ IDEA.
  User: 15711
  Date: 2022-05-15
  Time: 22:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>修改员工信息页面</title>
</head>
<body>
    <%--<%
        Emp emp = (Emp)request.getAttribute("emp");
    %>
    <form action="/empproject/manager/safe/updateEmpController" method="post">
        编号：<input type="text" name="id" value="<%=emp.getId()%>" readonly><br/>
        姓名：<input type="text" name="name" value="<%=emp.getName()%>"><br/>
        工资：<input type="text" name="salary" value="<%=emp.getSalary()%>"><br/>
        年龄：<input type="text" name="age" value="<%=emp.getAge()%>"><br/>
        <input type="submit" name="修改">
    </form>--%>
    <form action="<c:url context='${pageContext.request.contextPath}' value='/manager/safe/updateEmpController'></c:url>" method="post">
        编号：<input type="text" name="id" value="${emp.id}" readonly><br/>
        姓名：<input type="text" name="name" value="${emp.name}"><br/>
        工资：<input type="text" name="salary" value="${emp.salary}"><br/>
        年龄：<input type="text" name="age" value="${emp.age}"><br/>
        <input type="submit" name="修改">
    </form>
</body>
</html>
